package com.chaos.service.impl;/*
 * Date: 2023/10/19 9:18 PM
 * Function():
 * Author: Chao
 */

import com.chaos.dao.UserMapper;
import com.chaos.domain.User;
import com.chaos.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;
    @Override
    public User selectByUsername(String username) {
        return userMapper.selectByUsername(username);
    }
}
